package com.kuang.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.Data;

import java.io.Serializable;

@Data
@ExcelTarget("Teacher")
public class Teacher implements Serializable {
    @Excel(name = "工号")
    private String username;
    @Excel(name = "密码")
    private String password;
    @Excel(name = "姓名")
    private String nickname;
    @Excel(name = "性别", replace = { "男_2", "女_1"})
    private Integer sex;
    @Excel(name = "身份证号")
    private String idCard;
    @Excel(name = "手机号")
    private String phone;
    @Excel(name = "二级学院")
    private String departmentId;
    // 权限
    private String use_role;
    // 身份验证 0 不通过/ 1 通过
    private Integer status;
}
